package com.weipai.springboot.module.service;

import com.weipai.springboot.model.Freight;
import com.weipai.springboot.model.api.Response;

import javax.annotation.Resource;

/**
 * @Author: 曹朋飞
 * @Date: 2018/09/01 10:56
 */
public interface SystemService {
    
    //保存员工提成比例
    Response saveCommissionRate(Integer type, Integer rate);

    //根据类型获得比例
    Response getCommissionRateByType(Integer type);

    //修改提成比例
    Response updateCommissionRateById(Integer id, Integer rate);
    
    //获取运费
    Response getFreight();

    //修改运费
    Response updateFreight(Integer freightId, Integer fullPackage, Integer freight);
}
